package com.daidai.util

import java.util.ResourceBundle

object PropertiesUtil {

  private val bundle: ResourceBundle = ResourceBundle.getBundle("config")

  def apply(key : String ):String ={
    bundle.getString(key)
  }

  def main(args: Array[String]): Unit = {
    println(PropertiesUtil.apply("kafka.broker.list"))
  }

}
